﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta charset="UTF-8">
    <title>@ViewBag.Title</title>
    <link href="~/Content/Style.css" rel="stylesheet" />
    <link href="~/Content/fontface.css" rel="stylesheet" />
    <link href="~/Content/jquery-ui.css" rel="stylesheet" />
    <link href="~/Content/AdminStyle.css" rel="stylesheet" />
    <link href="~/Content/jquery.datepick.css" rel="stylesheet" />
    <link href="~/Content/jsonSuggest.css" rel="stylesheet" />
    <script src="~/Content/ckeditor/ckeditor.js"></script>
    <script src="~/Content/ckfinder/ckfinder.js"></script>
    <link href="~/Content/jquery-ui-1.10.3.custom.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.9.1.js"></script>
    <script src="~/Scripts/jquery-ui-1.10.3.custom.js"></script>

    <script src="~/Scripts/checkall.js"></script>


    <script type="text/javascript">
        $(function () {
            $("#accordion").accordion();
        });
    </script>
    <style>
        .demoHeaders {
            margin-top: 2em;
        }
    </style>
    <script type="text/javascript">
        function AlertErr() {
            alert("Bạn không có quyền thực hiện chức năng này!");
        }
    </script>
    <script type="text/javascript">
        function DeleteConfirm() {
            if (confirm("Bạn có chắc chắn muốn xóa bản ghi này?"))
                return true;
            else
                return false;
        }
        checked = false;
    </script>
    <style>
        #menucontainer {
            margin-top: -50px;
            margin-right: 10px;
        }

        /* TAB MENU ---------------------------------------*/
        ul#menu {
            padding: 0 0 2px;
            position: relative;
            margin: 0;
            text-align: right;
        }

            ul#menu li {
                display: inline;
                list-style: none;
            }

                ul#menu li#greeting {
                    padding: 10px 20px;
                    font-weight: bold;
                    text-decoration: none;
                    line-height: 2.8em;
                    color: #fff;
                }

                ul#menu li a {
                    padding: 10px 20px;
                    font-weight: bold;
                    text-decoration: none;
                    line-height: 2.8em;
                    background-color: #e8eef4;
                    color: #034af3;
                    border-radius: 4px 4px 0 0;
                    -webkit-border-radius: 4px 4px 0 0;
                    -moz-border-radius: 4px 4px 0 0;
                }

                    ul#menu li a:hover {
                        background-color: #fff;
                        text-decoration: none;
                    }

                    ul#menu li a:active {
                        background-color: #a6e2a6;
                        text-decoration: none;
                    }

                ul#menu li.selected a {
                    background-color: #fff;
                    color: #000;
                }
    </style>
</head>
<body>
    <div id="page">
        @Html.Partial("_HeaderPartial")
        <div class="h10"></div>
        <div class="main">
            <div class="content">
                <div class="content-left">

                    @*@Html.Partial("AdLeft")*@

                    <div class="danhmuc" style="font-family: 'UVNMangCauNang';">Danh mục</div>
                    <table style="width: 100%; border: 0; border-collapse: collapse;">
                        <tr>
                            <td id="sitemap">@Html.Partial("_PartialAdLeft")</td>

                        </tr>
                    </table>

                    <div class="h10"></div>
                    <div class="danhmuc" style="font-family: 'UVNMangCauNang';">Quản lý</div>
                    <table style="width: 100%; border: 0; border-collapse: collapse;">
                        <tr>
                            <td id="sitemap">@Html.Partial("_PartialAdLeft1")</td>

                        </tr>
                    </table>
                    @*@Html.Partial("_PartialAccordion")*@


                </div>
                <div class="content-right">

                    <div id="menucontainer">
                        <ul id="menu">
                            <li>@Html.ActionLink("Home", "Index", "Home")</li>
                            @*@if (HttpContext.Current.User.IsInRole("Admin"))
                                {//neu la quyen cua ban la Admin
                                    <li>@Html.ActionLink("Admin", "Index", "Admin")</li>
                                }
                                @if (HttpContext.Current.User.Identity.IsAuthenticated)
                                {//ban da dang nhap,da duoc phan quyen
                                    <li>@Html.ActionLink("Thong tin", "ThongTin", "Home")</li>
                                    <li>@Html.ActionLink("Thay Doi Mat Khau", "DoiMatKhau", "Home")</li>
                                }*@
                            <li>@Html.ActionLink("Đổi mật khẩu", "Manage", "Account")</li>
                        </ul>
                    </div>

                    <div>
                        @RenderBody()
                    </div>
                </div>

            </div>
        </div>
        <div class="h10"></div>

        <div id="footer">
            <br />
            <span style="font-family: 'UVNMangCauNang'; font-size: 16px">PHẦN MỀM QUẢN LÝ CÔNG VĂN</span>
            <p style="font-family: 'Times New Roman'; font-size: 14px; color: blue">Copyright &copy; @DateTime.Now.Year - HCDN</p>
        </div>
    </div>

</body>
</html>
